[Freeswitch-users] iPad with APNS

David Ponzone david.ponzone at gmail.com
Sat Jul 31 14:55:57 PDT 2010


Check if the sofia_contact for the registered user is different.

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis  
à l'intention exclusive de ses destinataires. Toute utilisation ou  
diffusion non autorisée est interdite. Tout message électronique est  
susceptible d'altération. IPeva décline toute responsabilité au titre  
de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes  
pas destinataire de ce message, merci de le détruire immédiatement et  
d'avertir l'expéditeur.




Le 31/07/2010 à 12:30, Ivan C Myrvold a écrit :

> I didn't see any difference in the register message after adding  
> this line to the INTERNAL profile.
>
>   REGISTER sip:imyrvold.dyndns.org SIP/2.0
>    Via: SIP/2.0/UDP  
> 192.168.2.1:45411;rport;branch=z9hG4bKPj98df9b66-0810-4624- 
> ba41-9aeb029f8c65
>    Max-Forwards: 70
>    From: <sip:ipad at imyrvold.dyndns.org>;tag=e153db8b-d7c5-417a-b45a- 
> be51221d6974
>    To: <sip:ipad at imyrvold.dyndns.org>
>    Call-ID: 04cd9323-f191-4d29-9553-f5c2dae70b4a
>    CSeq: 39128 REGISTER
>    User-Agent: PJSUA v1.4.5/x86_64-unknown-linux-gnu
>    Contact: <sip:ipad at 192.168.2.1:45411>
>    Expires: 300
>    Content-Length:  0
>
>
> Den 31. juli 2010 kl. 11.22 skrev David Ponzone:
>
>> Your SIP client is probably not sending the rport field.
>> You could try to force it with:
>> <param name="NDLB-force-rport" value="true"/>
>>
>> in the SIP profile.
>>
>> David Ponzone  Direction Technique
>> email: david.ponzone at ipeva.fr
>> tel:      01 74 03 18 97
>> gsm:   06 66 98 76 34
>>
>> Service Client IPeva
>> tel:      0811 46 26 26
>> www.ipeva.fr  -   www.ipeva-studio.com
>>
>> Ce message et toutes les pièces jointes sont confidentiels et  
>> établis à l'intention exclusive de ses destinataires. Toute  
>> utilisation ou diffusion non autorisée est interdite. Tout message  
>> électronique est susceptible d'altération. IPeva décline toute  
>> responsabilité au titre de ce message s'il a été altéré, déformé ou  
>> falsifié. Si vous n'êtes pas destinataire de ce message, merci de  
>> le détruire immédiatement et d'avertir l'expéditeur.
>>
>>
>>
>>
>> Le 31/07/2010 à 10:58, Ivan C Myrvold a écrit :
>>
>>> My iPad is registered with
>>>
>>> Call-ID:    	9d7a299b-c943-448a-9f91-14d86f391215
>>> User:       	ipad at imyrvold.dyndns.org
>>> Contact:    	"user" <sip:ipad at 192.168.2.1:45411>
>>> Agent:      	PJSUA v1.4.5/x86_64-unknown-linux-gnu
>>> Status:     	Registered(UDP)(unknown) EXP(2010-07-30 14:13:45)  
>>> EXPSECS(559)
>>> Host:       	leopard.imyrvold.org
>>> IP:         	74.208.218.93
>>> Port:       	45411
>>> Auth-User:  	ipad
>>> Auth-Realm: 	imyrvold.dyndns.org
>>> MWI-Account:	ipad at imyrvold.dyndns.org
>>>
>>>
>>> and FreeSWITCH is sending an INVITE to the local address  
>>> 192.168.2.1:45411, that is the local address of the server I  
>>> suppose.
>>> I think it should have sent it to the address 74.208.218.93 instead.
>>>
>>> Is it possible to configure freeSWITCH to use the IP fields  
>>> instead of the Contact field of the registration? Or do I have to  
>>> contact the iSip developers to make them fix this in their product?
>>>
>>> Ivan
>>>
>>>   INVITE sip:ipad at 192.168.2.1:45411 SIP/2.0
>>>   Via: SIP/2.0/UDP 193.213.24.29;rport;branch=z9hG4bKN7BZaHtpSmvjc
>>>   Max-Forwards: 69
>>>   From: "Ivan C Myrvold" <sip: 
>>> 37048300 at 193.213.24.29>;tag=49F85a5rppjaF
>>>   To: <sip:ipad at 192.168.2.1:45411>
>>>   Call-ID: c8d406d2-1675-122e-7d8e-3f8378a6eaac
>>>   CSeq: 134127471 INVITE
>>>   Contact: <sip:mod_sofia at 193.213.24.29:5060>
>>> .....
>>> .....
>>>
>>>
>>> Den 30. juli 2010 kl. 14.42 skrev Ivan C Myrvold:
>>>
>>>> I am using iSip on my iPad, and it registers well with  
>>>> FreeSWITCH. I can make calls, and it receives calls when running.
>>>> http://pastebin.freeswitch.org/13563
>>>>
>>>> When I have APNS switched on, it should be able to receive calls  
>>>> also when it is offline, because an external server will be  
>>>> registered as the iPad.
>>>> http://pastebin.freeswitch.org/13564
>>>>
>>>> But unfortunately I do not receive any call on my iPad, and  
>>>> freeswitch eventually times out. Does anyone have any hint to  
>>>> what could be wrong?
>>>> Here is a SIP trace of the call, from local phone 160 at imyrvold.dyndns.org 
>>>> :
>>>> http://pastebin.freeswitch.org/13565
>>>>
>>>> Ivan
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100731/8312814f/attachment-0001.html 


More information about the FreeSWITCH-users mailing list