[Pidgin] #6077: SIMPLE: username containing '@' causes problems (was: username containing '@' causes problems)

Pidgin trac at pidgin.im
Thu Jul 23 00:40:04 EDT 2009


#6077: SIMPLE: username containing '@' causes problems
-----------------------------+----------------------------------------------
 Reporter:  achraf           |        Owner:  seanegan
     Type:  defect           |       Status:  new     
Milestone:  Patches welcome  |    Component:  SIMPLE  
  Version:  2.4.2            |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by darkrain42):

  * milestone:  => Patches welcome


Old description:

> The Contact name consedered by our sip server is our email address.
> When I specify my mail address as "Username" on pidging account we cann't
> have connection with our sip server, because mail address contain "@" and
> pidgin will consider "@" as a separator for contac name and server name
> ===> wrong contact name and wrong server.
> Below trace issued from debugger utility:
>
> {{{
> (11:53:03) account: Connecting to account achraf.ben-hammouda at alcatel-
> lucent.fr at sip.alcatel.com
> (11:53:03) util: Writing file accounts.xml to directory /root/.purple
> (11:53:03) util: Writing file /root/.purple/accounts.xml
> (11:53:03) util: Writing file blist.xml to directory /root/.purple
> (11:53:03) util: Writing file /root/.purple/blist.xml
> (11:53:24) autorecon: do_signon called
> (11:53:24) autorecon: calling purple_account_connect
> (11:53:24) account: Connecting to account achraf.ben-hammouda at alcatel-
> lucent.fr at sip.alcatel.com
> (11:53:24) autorecon: done calling purple_account_connect
> (11:53:25) util: Writing file accounts.xml to directory /root/.purple
> (11:53:25) util: Writing file /root/.purple/accounts.xml
> (11:53:55) connection: Connecting. gc = 0x8a53e40
> (11:53:55) dnssrv: querying SRV record for _sip._tcp.alcatel-
> lucent.fr at sip.alcatel.com
> (11:53:55) dnssrv: found 0 SRV entries
> (11:53:55) network: Listening on port: 5063
> (11:53:55) network: Couldn't create UPnP mapping
> (11:53:55) network: Couldn't create UPnP mapping
> (11:53:55) simple: listenfd: 29
> (11:53:55) simple: connecting to alcatel-lucent.fr at sip.alcatel.com port
> 5060
> (11:53:55) dns: DNS query for 'alcatel-lucent.fr at sip.alcatel.com' queued
> (11:53:55) dns: Created new DNS child 27902, there are now 1 children.
> (11:53:55) dns: Successfully sent DNS request to child 27902
> (11:54:00) util: Writing file accounts.xml to directory /root/.purple
> (11:54:00) util: Writing file /root/.purple/accounts.xml
> (11:54:06) dns: Got response for 'alcatel-lucent.fr at sip.alcatel.com'
> (11:54:06) dnsquery: Error resolving alcatel-lucent.fr at sip.alcatel.com:
> Name or service not known
> (11:54:06) proxy: Connection attempt failed: Error resolving alcatel-
> lucent.fr at sip.alcatel.com:
> Name or service not known
> (11:54:06) account: Disconnecting account 0x8a03750
> (11:54:06) connection: Disconnecting connection 0x8a53e40
> (11:54:06) Gtk: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)'
> failed
> (11:54:06) connection: Destroying connection 0x8a53e40
> }}}
>
> Best Regards

New description:

 The Contact name consedered by our sip server is our email address.
 When I specify my mail address as "Username" on pidging account we cann't
 have connection with our sip server, because mail address contain "@" and
 pidgin will consider "@" as a separator for contac name and server name
 ===> wrong contact name and wrong server.
 Below trace issued from debugger utility:

 {{{
 (11:53:03) account: Connecting to account achraf.ben-hammouda at alcatel-
 lucent.fr at sip.alcatel.com
 (11:53:03) util: Writing file accounts.xml to directory /root/.purple
 (11:53:03) util: Writing file /root/.purple/accounts.xml
 (11:53:03) util: Writing file blist.xml to directory /root/.purple
 (11:53:03) util: Writing file /root/.purple/blist.xml
 (11:53:24) autorecon: do_signon called
 (11:53:24) autorecon: calling purple_account_connect
 (11:53:24) account: Connecting to account achraf.ben-hammouda at alcatel-
 lucent.fr at sip.alcatel.com
 (11:53:24) autorecon: done calling purple_account_connect
 (11:53:25) util: Writing file accounts.xml to directory /root/.purple
 (11:53:25) util: Writing file /root/.purple/accounts.xml
 (11:53:55) connection: Connecting. gc = 0x8a53e40
 (11:53:55) dnssrv: querying SRV record for _sip._tcp.alcatel-
 lucent.fr at sip.alcatel.com
 (11:53:55) dnssrv: found 0 SRV entries
 (11:53:55) network: Listening on port: 5063
 (11:53:55) network: Couldn't create UPnP mapping
 (11:53:55) network: Couldn't create UPnP mapping
 (11:53:55) simple: listenfd: 29
 (11:53:55) simple: connecting to alcatel-lucent.fr at sip.alcatel.com port
 5060
 (11:53:55) dns: DNS query for 'alcatel-lucent.fr at sip.alcatel.com' queued
 (11:53:55) dns: Created new DNS child 27902, there are now 1 children.
 (11:53:55) dns: Successfully sent DNS request to child 27902
 (11:54:00) util: Writing file accounts.xml to directory /root/.purple
 (11:54:00) util: Writing file /root/.purple/accounts.xml
 (11:54:06) dns: Got response for 'alcatel-lucent.fr at sip.alcatel.com'
 (11:54:06) dnsquery: Error resolving alcatel-lucent.fr at sip.alcatel.com:
 Name or service not known
 (11:54:06) proxy: Connection attempt failed: Error resolving alcatel-
 lucent.fr at sip.alcatel.com:
 Name or service not known
 (11:54:06) account: Disconnecting account 0x8a03750
 (11:54:06) connection: Disconnecting connection 0x8a53e40
 (11:54:06) Gtk: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)'
 failed
 (11:54:06) connection: Destroying connection 0x8a53e40
 }}}

 Best Regards

--

-- 
Ticket URL: <http://developer.pidgin.im/ticket/6077#comment:8>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list